﻿//interface IToolsController extends ng.IScope {
//    startMessage: string;
//    sync: any;
//}
//class ToolsController {
//    constructor(private $scope: IToolsController, $rootScope, synchronizationHub: ISynchronizationHub, notificationFactory: INotificationFactory, staticObjects: IStaticObjects, userFactory: IUserFactory, sharedProperties) {

//        $scope.startMessage = "this is the Tools page";

//        $scope.sync = ()=> {
//            if (confirm("Cient Data Warehouse will be syncronized.") + "\n" + "Are you sure that you want to continue?") {

//                $.connection.hub.url = "http://localhost:8080/signalr";
//                var hub = $.connection.SynchronizationHub;


//            }
//        };
//    }
//}

//appRoot.controller('ToolsController', ['$scope', '$rootScope', 'notificationFactory', 'staticObjects', 'userFactory', 'sharedProperties', ($scope, $rootScope, notificationFactory, staticObjects, userFactory, sharedProperties) =>
//    new ToolsController($scope, $rootScope, notificationFactory, staticObjects, userFactory, sharedProperties)
//]);
 